#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <windows.h>
int main()
{
	int cnt = 10;
	while (cnt--)
	{
		printf("%-2d\r",cnt);
		Sleep(10);
		cnt--;
	}
	printf("\n");
	return 0;
}